home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Developer Toolbox 6.1
/
SGI Developer Toolbox 6.1 - Disc 4.iso
/
src
/
swtools
/
DSOs
/
forum93
/
case3
/
func3.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1994-08-02
|
142 b
|
14 lines
struct info {
int x;
int y;
};
int func(struct info *ir, int z) {
if (ir->x > 0) {
++ir->y;
}
return (ir->y+z);
}